<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>优酷无线统计平台</title>
		<!--                       CSS                       -->
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="{{ static_url('templates/reset.css') }}" type="text/css" media="screen" />
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="{{ static_url('templates/style.css') }}" type="text/css" media="screen" />
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="{{ static_url('templates/invalid.css') }}" type="text/css" media="screen" />	
		<!--<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css" type="text/css" media="all">-->
        
        <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />


				<style>
        .aui_title{text-align:left;}
        .verdiv{float:left;width:85px;text-align:right;overflow:hidden;}
        .verdivri{float:left;width:128px;height:30px;text-align:right;border-right:1px solid #D8D7D7;text-align:center;padding-top:10px;display:inline;}
        .bgbg {background-color:#e1e2e7}
        </style>
		
        
        <script src="/static/ykAnalytics2/resources/scripts/jquery.min.js" type="text/javascript"></script>
        
        
        <script src="/static/ykAnalytics2/artDialog.js?skin=default"></script>
        <!--<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script>-->
        
    <script src="/static/ykAnalytics2/resources/pagejs/iframeTools.source.js" type="text/javascript"></script>
        
		
        <!--<script src="http://code.jquery.com/jquery-1.8.2.js"></script>-->
    
	<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
    
    
    <script src="/static/ykAnalytics2/resources/pagejs/jquery-powerFloat.js" type="text/javascript"></script>
        
        
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="/static/ykAnalytics2/resources/scripts/simpla.jquery.configuration.js"></script>
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="/static/ykAnalytics2/resources/scripts/facebox.js"></script>
        <script type="text/javascript" src="/static/ykAnalytics2/resources/pagejs/util.js"></script>
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="/static/ykAnalytics2/resources/scripts/jquery.wysiwyg.js"></script>
		<!-- High Chart-->
		<script src="/static/ykAnalytics2/resources/scripts/highcharts.js" type="text/javascript"></script>
		<!-- ShowLoading -->
		<link href="/static/ykAnalytics2/resources/css/showLoading.css" rel="stylesheet" media="screen" /> 
		<script type="text/javascript" src="/static/ykAnalytics2/resources/scripts/jquery.showLoading.js"></script>
		<!-- TableSort -->
		<script type="text/javascript" src="/static/ykAnalytics2/resources/scripts/jquery.tableSort.js"></script>
        <script type="text/javascript" src="/static/ykAnalytics2/resources/pagejs/liver.js"></script>
		<!-- CSV export -->
		<script type="text/javascript" src="/static/ykAnalytics2/resources/scripts/table2CSV.js"></script>
        <script type="text/javascript">
        
        function getCSVData(tableID){
                
                var tabc = $('#'+tableID).html();
                tabc = tabc.replace(/<tr type[\s\S]*?<\/tr>/gi,'');
                $('#'+tableID).html(tabc);
				
                var os = check_os();
				if (os == "MS Windows" || os == "Lunix" || os == "Unix"){
					var csv_value=$('#'+tableID).table2CSV({delivery:'value'});
                }
				else if (os == "Apple mac"){
					var csv_value=$('#'+tableID).table2CSV({delivery:'value', separator : ';'});
                    
                }
				 
				 
                 
                 //alert(csv_value);
                 $("#csv_text").val(csv_value);	
				 document.formCSV.submit();
			}
        </script>
        
	</head>
  
	<body>
        
        
		<form action="/client/getcsv" method ="post" name="formCSV" accept-charset="utf8" > 
		<input type="hidden" name="csv_text" id="csv_text">
		<div id="body-wrapper"> 
        <div id="main-content">
        
        
        <div  class="pageContent" style="height:auto;">
        
        <div class="tab-content default-tab">
        {% raw fanhui %}
        </div>
        
        </div>
		</div>
		</div>
	</form>
    
    
   





	</body>
</html>
